<?php

class tag extends stwidgets {

    function tag() {
        $this->WP_Widget(false, $name = 'Tag Cloud');
    }

    function widget($args, $instance) {
    ?>
    <div class="newsitem">
        <h2>Tags</h2>
        <?php wp_tag_cloud('smallest=8&largest=12&number=50&orderby=count'); ?>
    </div>
    <?php
    }

     function form($instance) {
     ?>


     <?php
    }

}